//
//  Teacher.h
//  解档归档存储数据
//
//  Created by 伍银荣 on 2021/6/28.
//  Copyright © 2021 com.example. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

//需要遵循NSSecureCoding协议
@interface Teacher : NSObject<NSSecureCoding>
@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) int age;

@end

NS_ASSUME_NONNULL_END
